//package com._1.message.rabbitMq;
//
//import org.springframework.amqp.core.*;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//
//
//@Configuration
//public class RabbitMqOrderConfig {
//
//
//    @Bean
//    public Queue queue() {
//        return new Queue("testExchange",true);
//    }
//
//    @Bean
//    public Exchange testExchange() {
//        return new DirectExchange("testExchange", true, false);
//    }
//
//    @Bean
//    public Binding binding(Queue testQueue, DirectExchange testExchange) {
//        return BindingBuilder.bind(testQueue).to(testExchange).with("testRoutingKey");
//    }
//}
